package com.kede.api.auth.mapper;

import com.baomidou.mybatisplus.annotation.EnumValue;

/***
 ** @Author:Pr.li
 ** @Description:
 ** @Date: create in 2023/4/5 11:48
 ***/
public enum SexEnums {
//    用户性别（0男，1女，2未知）
    Man(0,"男"),Wuman(1,"女"),UnKnow(2,"未知");

    SexEnums(int code,String des) {
        this.code = code;
        this.des = des;
    }
    @EnumValue
    private final  int code;

    private final String des;

    public int getCode() {
        return code;
    }

    public String getDes() {
        return des;
    }
}
